//
//  GSAppUIOrderView.h
//  GameSky
//
//  Created by lanou on 16/1/13.
//  Copyright © 2016年 NiRongfei. All rights reserved.
//

#import <UIKit/UIKit.h>

@class GSAppUIOrderView;
@protocol GSAppUIOrderViewDelegate <NSObject>

- (void)GSAppUIOrderViewTapClick:(GSAppUIOrderView *)order;

- (void)GSAppUIOrderViewButtonTitle:(NSMutableArray *)buttonTitle;

@end

@interface GSAppUIOrderView : UIView
/**
 *  底部的透明的背景,用于触摸消失以及滑动改变上面的View的透明度
 */
@property (nonatomic, strong) UIView *bgScrollView;

@property (nonatomic, strong) UIView *contentView;

@property (nonatomic, strong) UIButton *button;

/**
 *  提示文本 拖动调整栏目顺序
 */
@property (nonatomic, strong) UILabel *tipLabel;

@property (nonatomic, assign) NSInteger totalNumber;

@property (nonatomic, assign) CGPoint nextPoint;

/** 用于赋值CGPoint*/
@property (nonatomic, assign) CGPoint valuePoint;

@property (nonatomic, strong) NSMutableArray *titleListArray;

@property (nonatomic, strong) UIButton *nextBt;

@property (nonatomic, assign)id<GSAppUIOrderViewDelegate> delegate;

// 存放button
@property (nonatomic, strong) NSMutableArray *buttonArray;

// 存放button的标题
@property (nonatomic, strong) NSMutableArray *buttonTitle;

// 记录推动按钮的目的地
@property (nonatomic, assign)const NSInteger endIndex;

// 记录开始的位置
@property (nonatomic, assign) NSInteger beginIndex;


@end
